package com.fenghongzhang.day005;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

//6
public class F2AActivity extends AppCompatActivity implements InputFragment.MyListener {
    private TextView showT;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_f2_a);

        showT = (TextView) findViewById(R.id.showT);

    }

    //7
    @Override
    public void message(String s) {
        showT.setText(s);
    }
}
